from flask import Blueprint
from app.api.v2 import article,order


def create_blueprint_v2():
    bp_v2 = Blueprint('v2', __name__)

    order.api.register(bp_v2)
    article.api.register(bp_v2)

    return bp_v2


# def create_bluprint_ws():
#     ws_v1 = Blueprint('ws_v1', __name__)
#     alipay.ws.register(ws_v1)
#     notice.ws.register(ws_v1)
#     return ws_v1
